package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IRoleService {

    void delete(Long id);

    void save(Role entity);

    void update(Role entity);

    Role get(Long id);

    List<?> list();

    PageResult query(QueryObject qo);

    List<Long> getRoleIdsByEmployeeId(Long id);

    List<String> getRoleSnByEmployeeId(Long id);
}
